package com.hospital.dao;

import com.hospital.entity.Role;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RoleMapper {
    //查所有角色
    public List<Role> SelectAll();

    //批量删除用户
    public Integer BulkDelete(List<Integer> id);

    //添加角色
    public Integer Insert(Role role);
}
